package com.soft.entity;

import java.math.BigDecimal;
import java.time.LocalTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("money")
public class Money {

	@TableId(value = "money_id", type = IdType.AUTO)
	private Long id;
	@TableField("money_income")
	private BigDecimal income;
	@TableField("money_spend")
    private BigDecimal spend;
	@TableField("money_time")
    private LocalTime time;
	@TableField("money_note")
    private String note;
	@TableField("money_total")
    private BigDecimal total;
	@TableField("operator_id")
    private BigDecimal operatorid;
	public BigDecimal getOperatorid() {
		return operatorid;
	}
	public void setOperatorid(BigDecimal operatorid) {
		this.operatorid = operatorid;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public BigDecimal getIncome() {
		return income;
	}
	public void setIncome(BigDecimal income) {
		this.income = income;
	}
	public BigDecimal getSpend() {
		return spend;
	}
	public void setSpend(BigDecimal spend) {
		this.spend = spend;
	}
	public LocalTime getTime() {
		return time;
	}
	public void setTime(LocalTime time) {
		this.time = time;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public BigDecimal getTotal() {
		return total;
	}
	public void setTotal(BigDecimal total) {
		this.total = total;
	}
}
